<!-- 课程管理-待审核列表 -->
<div class="manageTitle">
	课程管理-待审核列表
</div>

<div class="content" ng-controller="pendingAuditList">
	<div class="addBtn">
		<span class="title">课程分类</span>
		<div class="input-group m-b">
		    <div class="input-group-btn dropdown" dropdown="">
		        <button type="button" class="btn btn-default" dropdown-toggle="" aria-haspopup="true"
		        aria-expanded="false">
		            {{courseTheme.name}}
		            <span class="caret">
		            </span>
		        </button>
		        <ul class="dropdown-menu">
		        	<li ng-repeat="item in getCourseThemeList">
		        	    <a href="javascript:;" ng-click="selectCourseTheme(item);">
		        	        {{item.name}}
		        	    </a>
		        	</li>
		        </ul>
		    </div>
		</div>

		<a ui-sref="fullScore.course" class="otherBtn pendingAudit">返回</a>

		<a ui-sref="fullScore.addCourse" class="btnForClass">新建课程</a>

		<div class="search">
			<input type="text" placeholder="请输入关键词进行查询搜索" ng-model="keyword" ng-change="getCourseList();">
			<a href="javascript:;">搜索</a>
		</div>
	</div>

	<div class="table">
		<table>
			<thead>
				<tr>
					<th>ID</th>
					<th>课程名称</th>
					<th>封面（PC）</th>
					<th>审核状态</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="item in courseList">
					<td>{{item.id}}</td>
					<td>{{item.name}}</td>
					<td><img ng-src="{{item.img_path}}"></td>
					<td>
						<a href="javascript:;" class="audited" ng-if="item.status==0" ng-click="examine(item);">审核通过</a>
						<a href="javascript:;" class="audited cancelAudit" ng-if="item.status==1" ng-click="examine(item);">已审核</a>
					</td>
					<td class="operation">
						<a href="javascript:;"><img src="../img/edit.png" class="edit" ng-click="editCourse(item);"></a>
						<a href="javascript:;"><img src="../img/delete.png" ng-click="deleteCourse(item);"></a>
					</td>
				</tr>
				<tr ng-if="noData">
					<td colspan="6"><img src="../img/noData.png" class="height"></td>
				</tr>
			</tbody>
		</table>

		<ul class="pagination"></ul>
	</div>
</div>